import os,string;

filename = "/cygdrive/c/var/scratch/sshen/test_result/1a1/10000_1a1_1_siqi-PC_log.txt";
file = open(filename, "w");

print >>file, 1;
print >>file, 2;
file.flush();
file.close();